import { Router } from '@/common/type'

const router:Router[] = [
  {
    path: '/', redirect: '/home'
  },
  { path: '/home', component: '@/layout/index',routes: [
    { path: 'productsssxss', component: '@/layout/m', name: 'search', icon: 'PieChartOutlined' ,routes: [
        { path: 'axsaaada', component: '@/pages/products', name: 'search', icon: 'PieChartOutlined' },
        { path: 'axsaaadssssa', component: '@/pages/products', name: 'search', icon: 'PieChartOutlined' }
      ]
    },
    {
      path: '*',component: '@/pages/404'
    }
    ]
  },
  {
    path: '/login',component: '@/pages/login'
  },
   
]

export default router